function [svndata, blockText] = constSvnData(const,source)


constNames = {'GPS','GLO','GAL','BDS'};
if ischar(const)
    const = find(~cellfun(@isempty,strfind(constNames,const)));
    
    if isempty(const)
       error('Invalid constellation name') 
    end
end


if nargin < 2
    if const == 2
        source = 3;
    else
        source = 1;
    end
end

switch const
case 1 % GPS
blockText = {'I', 'II','IIA','IIR','IIRM','IIF'};
%                        Start Time                 End Time
%           SVN PRN Year Month Day Hour Min  Year Month Day Hour Min Block
svndata = [[ 01  04 1978    03  29   00  00  1985    07  17   17  30  1]; ...
           [ 02  07 1978    07  14   00  00  1988    08  12   00  00  1]; ...
           [ 03  06 1978    11  13   00  00  1992    05  18   23  41  1]; ...
           [ 04  08 1979    01  08   00  00  1989    10  14   18  57  1]; ...
           [ 05  05 1980    02  27   00  00  1984    05  11   00  00  1]; ...
           [ 06  09 1980    05  16   00  00  1991    03  06   03  42  1]; ...
           [ 08  11 1983    08  10   00  00  1993    05  04   00  20  1]; ...
           [ 09  13 1984    07  19   00  00  1994    02  28   13  45  1]; ...
           [ 10  12 1984    10  03   00  00  1995    11  18   18  45  1]; ...
           [ 11  03 1985    10  30   00  00  1994    02  27   02  33  1]; ...
           [ 13  02 1989    08  10   00  00  2004    02  22   10  37  2]; ...
           [ 14  14 1989    04  15   00  00  2000    03  26   23  48  2]; ...
           [ 15  15 1990    10  15   00  00  2007    03  14   00  00  2]; ...
           [ 16  16 1989    10  14   00  00  2000    10  13   00  45  2]; ...
           [ 17  17 1990    01  06   00  00  2005    02  25   22  00  2]; ...
           [ 18  18 1990    02  14   00  00  2000    08  18   07  42  2]; ...
           [ 19  19 1989    11  23   00  00  2001    09  11   22  00  2]; ...
            [ 20  20 1990    04  18   00  00  1996    05  21   22  42  2]; ...
            [ 21  21 1990    08  22   00  00  2002    09  25   18  30  2]; ...
            [ 22  22 1993    04  04   00  00  2002    12  03   14  02  3]; ...
            [ 23  23 1990    12  10   00  00  2004    02  05   20  30  3]; ...
            [ 23  32 2008    02  26   00  00  2016    01  25   15  36  3]; ...
            [ 24  24 1991    08  30   00  00  2009    09  12   20  17  3]; ...
            [ 25  25 1992    03  24   00  00  2009    12  18   15  22  3]; ...
            [ 26  26 1992    07  23   00  00  2015    01  05   17  50  3]; ...
            [ 27  27 1992    09  30   00  00  2012    10  06   18  00  3]; ...
            [ 28  28 1992    04  25   00  00  1996    11  04   16  34  3]; ...
            [ 29  29 1993    01  05   00  00  2007    10  23   00  00  3]; ...
            [ 30  30 1996    10  01   00  00  2011    05  13   20  55  3]; ...
            [ 31  31 1993    04  13   00  00  2005    10  24   00  00  3]; ...
            [ 32  01 1992    12  11   00  00  2008    03  17   19  53  3]; ...
            [ 33  03 1996    04  09   00  00  2014    08  02   19  59  3]; ...
%             [ 34  04 1993    11  22   00  00  2015    11  02   22  22  3]; ...
            [ 34  04 1993    11  22   00  00   Inf    11  02   22  22  3]; ...
            [ 35  05 1993    09  28   00  00  2009    03  26   13  20  3]; ...
            [ 35  30 2011    08  16   20  45  2013    03  28   10  29  3]; ...
            [ 36  06 1994    03  28   00  00  2014    02  21   14  30  3]; ...
            [ 37  07 1993    06  12   00  00  2007    12  12   01  46  3]; ...
            [ 38  08 1997    12  18   00  00  2014    10  30   15  00  3]; ...
            [ 39  09 1993    07  21   00  00  2014    05  19   14  35  3]; ...
            [ 40  10 1996    08  15   00  00  2015    07  16   16  24  3]; ...
            [ 41  14 2000    10  10   00  00  Inf     01  01   00  00  4]; ...
            [ 43  13 1998    01  31   00  00  Inf     01  01   00  00  4]; ...
            [ 44  28 2000    08  17   00  00  Inf     01  01   00  00  4]; ...
            [ 45  21 2003    04  12   00  00  Inf     01  01   00  00  4]; ...
            [ 46  11 2000    01  03   00  00  Inf     01  01   00  00  4]; ...
            [ 47  22 2004    01  12   00  00  Inf     01  01   00  00  4]; ...
            [ 48  07 2008    03  24   00  00  Inf     01  01   00  00  5]; ...
            [ 49  01 2009    03  24   00  00  2011    05  06   00  00  5]; ...
            [ 50  05 2009    08  27   00  00  Inf     01  01   00  00  5]; ...
            [ 51  20 2000    06  01   00  00  Inf     01  01   00  00  4]; ...
            [ 52  31 2006    10  12   00  00  Inf     01  01   00  00  5]; ...
            [ 53  17 2005    12  16   00  00  Inf     01  01   00  00  5]; ...
            [ 54  18 2001    02  15   00  00 2018     03  05   00  00  4]; ...
            [ 55  15 2007    10  31   00  00  Inf     01  01   00  00  5]; ...
            [ 56  16 2003    02  19   00  00  Inf     01  01   00  00  4]; ...
            [ 57  29 2008    01  02   00  00  Inf     01  01   00  00  5]; ...
            [ 58  12 2006    12  13   00  00  Inf     01  01   00  00  5]; ...
            [ 59  19 2004    04  05   00  00  Inf     01  01   00  00  4]; ...
            [ 60  23 2004    07  09   00  00  Inf     01  01   00  00  4]; ...
            [ 61  02 2004    11  22   00  00  Inf     01  01   00  00  4]; ...
            [ 62  25 2010    08  27   00  00  Inf     01  01   00  00  6]; ...
            [ 63  01 2011    10  14   00  00  Inf     01  01   00  00  6]; ...
            [ 64  30 2014    05  30   18  35  Inf     01  01   00  00  6]; ...
            [ 65  24 2012    11  14   00  00  Inf     01  01   00  00  6]; ...
            [ 66  27 2013    06  21   19  51  Inf     01  01   00  00  6]; ...
            [ 67  06 2014    06  10   17  10  Inf     01  01   00  00  6]; ...
            [ 68  09 2014    09  17   20  26  Inf     01  01   00  00  6]; ...
            [ 69  03 2014    12  12   21  19  Inf     01  01   00  00  6]; ...
            [ 70  32 2016    03  09   03  09  Inf     01  01   00  00  6]; ...
            [ 71  26 2015    04  20   22  22  Inf     01  01   00  00  6]; ...
            [ 72  08 2015    08  12   16  53  Inf     01  01   00  00  6]; ...
            [ 73  10 2015    12  09   01  16  Inf     01  01   00  00  6]; ...
            [ 34  18 2018    03  20   00  00  Inf     01  01   00  00  3]];
    case 2 % GLO
        blockText = {'I','IIa','IIb','IIv','M','K1'};
        %         source = 3; %1 = wiki, 2 = SVOEVP, 3 = const status files
        if source == 1
            % All data from wikipedia:
            % https://en.wikipedia.org/wiki/List_of_GLONASS_satellites
            svndata = [
                %                  |     Launch Time        |     Decommission Time      |
                %  SVN   PRN  Year   Mon   Day  Hour   Min  Year   Mon   Day  Hour   Day  Block
                711     1  1982    10    12     0     0  1984     1    12     0     0     1;
                712     3  1983     8    10     0     0  1984     7     5     0     0     1;
                713     2  1983     8    10     0     0  1984     9    27     0     0     1;
                714    18  1983    12    29     0     0  1984     9    27     0     0     1;
                715    17  1983    12    29     0     0  1986     6    30     0     0     1;
                716    19  1984     5    19     0     0  1985     8    16     0     0     1;
                717    18  1984     5    19     0     0  1985    10    25     0     0     1;
                718     2  1984     9     4     0     0  1985    11    28     0     0     1;
                719     3  1984     9     4     0     0  1986     9     4     0     0     1;
                720     1  1985     5    17     0     0  1985    11     8     0     0     1;
                721     1  1985     5    17     0     0  1987     8     9     0     0     2;
                722    18  1985    12    24     0     0  1987     2    28     0     0     2;
                723    17  1985    12    24     0     0  1987     5    16     0     0     2;
                724     2  1986     9    16     0     0  1987     2    20     0     0     2;
                725     3  1986     9    16     0     0  1988     7    15     0     0     2;
                726     8  1986     9    16     0     0  1988     6    15     0     0     2;
                733     0  1987     9    16     0     0  1989     6     6     0     0     3;
                734     0  1987     9    16     0     0  1988     8    30     0     0     3;
                735    17  1987     9    16     0     0  1989     2     1     0     0     3;
                739     7  1988     5    21     0     0  1990     5    10     0     0     3;
                740     8  1988     5    21     0     0  1991     3    19     0     0     3;
                741     1  1988     5    21     0     0  1991     6    11     0     0     3;
                742    17  1988     9    16     0     0  1990     5    21     0     0     4;
                743    18  1988     9    16     0     0  1989     8    31     0     0     4;
                744    19  1988     9    16     0     0  1991    11     1     0     0     4;
                727     2  1989     1    10     0     0  1993     3    14     0     0     2;
                745     3  1989     1    10     0     0  1992     2    16     0     0     4;
                728    24  1989     5    31     0     0  1990     1    25     0     0     2;
                729    19  1989     5    31     0     0  1989    11    18     0     0     2;
                746    17  1990     5    19     0     0  1994     4    23     0     0     4;
                751    19  1990     5    19     0     0  1994     7    27     0     0     4;
                752    20  1990     5    19     0     0  1992     8    18     0     0     4;
                747     7  1990    12     8     0     0  1994     3    17     0     0     4;
                748     4  1990    12     8     0     0  1993    10    29     0     0     4;
                749     5  1990    12     8     0     0  1996     6     9     0     0     4;
                750    22  1991     4     4     0     0  1994     9    29     0     0     4;
                753    21  1991     4     4     0     0  1992     1     6     0     0     4;
                754    24  1991     4     4     0     0  1992     2    26     0     0     4;
                768     3  1992     1    29     0     0  1993     1     9     0     0     4;
                769     8  1992     1    29     0     0  1997     5    23     0     0     4;
                771     1  1992     1    29     0     0  1996    10    25     0     0     4;
                756    18  1992     7    30     0     0  1997     6    27     0     0     4;
                772    21  1992     7    30     0     0  1994     6    29     0     0     4;
                774    24  1992     7    30     0     0  1996     5    18     0     0     4;
                773     2  1993     2    17     0     0  1994     3     9     0     0     4;
                759     6  1993     2    17     0     0  1997     6    30     0     0     4;
                757     3  1993     2    17     0     0  1997     7    27     0     0     4;
                758    18  1994     4    11     0     0  1999     3     5     0     0     4;
                760    17  1994     4    11     0     0  1999     7    30     0     0     4;
                761    23  1994     4    11     0     0  1997     7    24     0     0     4;
                767    12  1994     8    11     0     0  1998    11     5     0     0     4;
                770    14  1994     8    11     0     0  1999     8    24     0     0     4;
                775    16  1994     8    11     0     0  2000     8    13     0     0     4;
                762     4  1994    11    20     0     0  1999     9     4     0     0     4;
                763     3  1994    11    20     0     0  1999     7    27     0     0     4;
                764     6  1994    11    20     0     0  1999    10    27     0     0     4;
                765    20  1995     3     7     0     0  1999     9    10     0     0     4;
                766    22  1995     3     7     0     0  2000    11    21     0     0     4;
                777    19  1995     3     7     0     0  1997     7    17     0     0     4;
                780    15  1995     7    24     0     0  1998    12     3     0     0     4;
                781    10  1995     7    24     0     0  2001     1    24     0     0     4;
                785    11  1995     7    24     0     0  2001     2     3     0     0     4;
                776     9  1995    12    14     0     0  2000     8    13     0     0     4;
                778    15  1995    12    14     0     0  2001     1    29     0     0     4;
                782    13  1995    12    14     0     0  2001     7    23     0     0     4;
                786     7  1998    12    30     0     0  2003    10    20     0     0     4;
                784     8  1998    12    30     0     0  2003    12    19     0     0     4;
                779     1  1998    12    30     0     0  2002     7     8     0     0     4;
                783    18  2000    10    13     0     0  2007    11    23     0     0     4;
                787    17  2000    10    13     0     0  2007     4    16     0     0     4;
                788    24  2000    10    13     0     0  2006     3    29     0     0     4;
                790     6  2001    12     1     0     0  2003    12    19     0     0     4;
                789     3  2001    12     1     0     0  2008     1    11     0     0     4;
                811     5  2001    12     1     0     0  2008     1    11     0     0     5;
                791    22  2002    12    25     0     0  2007    11    30     0     0     4;
                792    21  2002    12    25     0     0  2008     1    12     0     0     4;
                793    23  2002    12    25     0     0  2007     4    16     0     0     4;
                794     2  2003    12    10     0     0  2007     4    20     0     0     4;
                795     4  2003    12    10     0     0  2009     4    30     0     0     4;
                801     6  2003    12    10     0     0  2009     6    18     0     0     5;
                796     1  2004    12    26     0     0  2008    10    18     0     0     4;
                797     8  2004    12    26     0     0  2008    10    16     0     0     4;
                812     8  2004    12    26     0     0  2012    11    22     0     0     5;
                798    22  2005    12    25     0     0  2008     1    12     0     0     4;
                813    24  2005    12    25     0     0  2010     2    18     0     0     5;
                814    17  2005    12    25     0     0  2016     2    24     0     0     5;
                815    14  2006    12    25     0     0   Inf     1     1     0     0     5;
                816    15  2006    12    25     0     0  2018    11    24     0     0     5;
                817    10  2006    12    25     0     0   Inf     1     1     0     0     5;
                818    17  2007    10    26     0     0  2011    10    20     0     0     5;
                819    20  2007    10    26     0     0   Inf     1     1     0     0     5;
                820    19  2007    10    26     0     0   Inf     1     1     0     0     5;
                821    13  2007    12    25     0     0   Inf     1     1     0     0     5;
                822    14  2007    12    25     0     0  2011    10    12     0     0     5;
                823    11  2007    12    25     0     0   Inf     1     1     0     0     5;
                824    18  2008     9    25     0     0  2014     2    12     0     0     5;
                825    21  2008     9    25     0     0  2014     8     2     0     0     5;
                826    22  2008     9    25     0     0  2012    11    28     0     0     5;
                827     3  2008    12    25     0     0  2012    11    28     0     0     5;
                828     2  2008    12    25     0     0  2013    10    16     0     0     5;
                829     8  2008    12    25     0     0  2012     9     9     0     0     5;
                830     1  2009    12    14     0     0   Inf     1     1     0     0     5;
                833     6  2009    12    14     0     0   Inf     1     1     0     0     5;
                834     5  2009    12    14     0     0  2018    08    22     0     0     5;
                831    22  2010     3     1     0     0   Inf     1     1     0     0     5;
                832    23  2010     3     1     0     0   Inf     1     1     0     0     5;
                835    24  2010     3     1     0     0   Inf     1     1     0     0     5;
                836    16  2010     9     2     0     0   Inf     1     1     0     0     5;
                837    12  2010     9     2     0     0   Inf     1     1     0     0     5;
                838    16  2010     9     2     0     0  2016     2    15     0     0     5;
                901    20  2011     2    26     0     0   Inf     1     1     0     0     6;
                842     4  2011    10     2     0     0   Inf     1     1     0     0     5;
                843     8  2011    11     4     0     0   Inf     1     1     0     0     5;
                844     3  2011    11     4     0     0   Inf     1     1     0     0     5;
                845     7  2011    11     4     0     0   Inf     1     1     0     0     5;
                846    17  2011    11    28     0     0  2015     4    13     0     0     5;
                847     2  2013     4    26     0     0   Inf     1     1     0     0     5;
                854    18  2014     3    23     0     0   Inf     1     1     0     0     5;
                855    21  2014     6    14     0     0   Inf     1     1     0     0     5;
                902     9  2014    11    30     0     0   Inf     1     1     0     0     6;
                851    17  2016     2     7     0     0   Inf     1     1     0     0     5;
                853    11  2016     5    29     0     0   Inf     1     1     0     0     5;
                856     5  2018    08    22     0     0   Inf     0     0     0     0     5;
                857    15  2018    11    24     0     0   Inf     0     0     0     0     5];
        end
        
        if source == 2
            svndata = [
                221	1	1985	6	14	0	0	1987	8	10	0	0	2	7	1651	;...
                224	1	1982	10	15	0	0	1984	1	13	0	0	1	9999	1413	;...
                233	1	1988	6	15	0	0	1991	6	12	0	0	3	9999	1948	;...
                730	1	2010	1	30	0	0	9999	9999	9999	0	0	5	1	2456	;...
                671	1	1992	2	18	0	0	1992	9	2	0	0	4	17	2179	;...
                671	1	1992	9	2	0	0	1993	9	2	0	0	4	23	2179	;...
                671	1	1993	9	2	0	0	1996	10	26	0	0	4	21	2179	;...
                679	1	1999	2	18	0	0	2002	2	1	0	0	4	2	2364	;...
                796	1	2005	2	7	0	0	2006	3	26	0	0	5	2	2413	;...
                796	1	2006	3	26	0	0	2008	10	23	0	0	5	7	2413	;...
                203	2	1986	10	19	0	0	1987	2	21	0	0	2	11	1778	;...
                216	2	1984	9	22	0	0	1985	11	29	0	0	1	10	1593	;...
                223	2	1983	8	31	0	0	1984	9	22	0	0	1	9999	1491	;...
                239	2	1989	2	1	0	0	1993	3	14	0	0	2	9	1987	;...
                728	2	2009	1	20	0	0	2009	9	14	0	0	5	1	2448	;...
                728	2	2009	9	14	0	0	2013	7	2	0	0	5	-4	2448	;...
                747	2	2013	7	2	0	0	9999	9999	9999	0	0	5	-4	2485	;...
                673	2	1993	3	14	0	0	1994	3	10	0	0	4	5	2234	;...
                694	2	2004	2	2	0	0	2005	2	17	0	0	4	4	2402	;...
                694	2	2005	2	17	0	0	2008	1	11	0	0	4	1	2402	;...
                202	3	1986	10	19	0	0	1988	7	16	0	0	2	20	1779	;...
                215	3	1984	9	28	0	0	1986	9	5	0	0	1	9999	1594	;...
                222	3	1983	9	3	0	0	1984	7	6	0	0	1	9999	1490	;...
                240	3	1989	2	1	0	0	1992	2	17	0	0	4	6	1988	;...
                715	3	2011	3	24	0	0	2011	10	13	0	0	5	-6	2424	;...
                722	3	2010	10	4	0	0	2010	12	14	0	0	5	-5	2435	;...
                727	3	2009	1	19	0	0	2010	10	1	0	0	5	5	2447	;...
                727	3	2010	10	1	0	0	2010	10	4	0	0	5	-5	2447	;...
                727	3	2010	12	14	0	0	2011	3	24	0	0	5	5	2447	;...
                744	3	2011	12	8	0	0	9999	9999	9999	0	0	5	5	2476	;...
                657	3	1993	3	14	0	0	1994	12	15	0	0	4	12	2236	;...
                663	3	1994	12	15	0	0	1999	7	28	0	0	4	21	2295	;...
                668	3	1992	2	24	0	0	1993	1	10	0	0	4	22	2177	;...
                689	3	2002	1	4	0	0	2008	1	11	0	0	4	12	2381	;...
                801	3	2011	10	13	0	0	2011	12	1	0	0	6	-5	2471	;...
                248	4	1990	12	29	0	0	1993	10	30	0	0	4	14	2110	;...
                727	4	2010	10	4	0	0	2010	12	14	0	0	5	6	2447	;...
                733	4	2010	1	24	0	0	2010	10	4	0	0	5	6	2457	;...
                742	4	2011	10	25	0	0	9999	9999	9999	0	0	5	6	2474	;...
                662	4	1994	12	11	0	0	1999	9	5	0	0	4	12	2294	;...
                695	4	2004	1	29	0	0	2009	8	19	0	0	4	6	2403	;...
                801	4	2011	5	12	0	0	2011	10	13	0	0	6	-5	2471	;...
                249	5	1990	12	28	0	0	1992	9	2	0	0	4	19	2111	;...
                249	5	1992	9	2	0	0	1996	6	10	0	0	4	23	2111	;...
                711	5	2003	2	13	0	0	2006	3	26	0	0	5	2	2382	;...
                711	5	2006	3	26	0	0	2008	1	11	0	0	5	7	2382	;...
                734	5	2010	1	10	0	0	9999	9999	9999	0	0	5	1	2458	;...
                701	6	2004	12	8	0	0	2009	9	16	0	0	5	1	2404	;...
                701	6	2009	9	16	0	0	2010	2	27	0	0	5	-4	2404	;...
                733	6	2010	10	4	0	0	9999	9999	9999	0	0	5	-4	2457	;...
                659	6	1993	8	25	0	0	1994	12	16	0	0	4	23	2235	;...
                664	6	1994	12	16	0	0	1999	10	28	0	0	4	13	2296	;...
                690	6	2002	1	4	0	0	2003	12	20	0	0	4	9	2380	;...
                247	7	1991	1	1	0	0	1994	3	18	0	0	4	13	2109	;...
                265	7	1988	6	15	0	0	1990	5	11	0	0	3	9999	1946	;...
                612	7	2005	10	7	0	0	2007	2	7	0	0	4	4	2411	;...
                612	7	2007	2	7	0	0	2011	12	15	0	0	4	5	2411	;...
                745	7	2011	12	18	0	0	9999	9999	9999	0	0	5	5	2477	;...
                659	7	1994	12	31	0	0	1997	7	1	0	0	4	23	2235	;...
                686	7	1999	1	29	0	0	2003	10	18	0	0	4	7	2362	;...
                201	8	1986	10	19	0	0	1988	6	15	0	0	2	22	1780	;...
                234	8	1988	6	15	0	0	1991	3	20	0	0	3	9999	1947	;...
                612	8	2012	10	18	0	0	2012	12	21	0	0	4	6	2411	;...
                729	8	2009	2	12	0	0	2012	9	17	0	0	5	6	2449	;...
                743	8	2012	9	17	0	0	2012	10	18	0	0	5	-6	2475	;...
                743	8	2012	12	21	0	0	2013	1	6	0	0	5	-6	2475	;...
                743	8	2013	2	22	0	0	2013	3	2	0	0	5	6	2475	;...
                743	8	2013	3	2	0	0	2013	3	4	0	0	5	-6	2475	;...
                743	8	2013	3	4	0	0	9999	9999	9999	0	0	5	6	2475	;...
                669	8	1992	2	22	0	0	1997	5	24	0	0	4	2	2178	;...
                684	8	1999	1	29	0	0	2003	12	20	0	0	4	8	2363	;...
                697	8	2005	2	6	0	0	2008	10	23	0	0	4	6	2412	;...
                801	8	2013	1	6	0	0	2013	2	22	0	0	6	-5	2471	;...
                722	9	2008	1	25	0	0	2010	10	4	0	0	5	-2	2435	;...
                736	9	2010	10	4	0	0	2016	2	16	0	0	5	-2	2464	;...
                676	9	1996	1	7	0	0	2000	8	14	0	0	4	6	2323	;...
                802	9	2016	2	16	0	0	9999	9999	9999	0	0	6	-6	2501	;...
                717	10	2007	4	3	0	0	2009	3	11	0	0	5	4	2426	;...
                717	10	2009	3	11	0	0	9999	9999	9999	0	0	5	-7	2426	;...
                681	10	1995	8	22	0	0	2001	1	25	0	0	4	9	2317	;...
                723	11	2008	1	22	0	0	9999	9999	9999	0	0	5	0	2436	;...
                685	11	1995	8	22	0	0	2001	2	4	0	0	4	4	2318	;...
                737	12	2010	10	12	0	0	9999	9999	9999	0	0	5	-1	2465	;...
                667	12	1994	9	7	0	0	1998	11	6	0	0	4	22	2287	;...
                721	13	2008	2	8	0	0	9999	9999	9999	0	0	5	-2	2434	;...
                682	13	1996	1	18	0	0	2001	7	24	0	0	4	6	2325	;...
                715	14	2007	4	3	0	0	2009	3	11	0	0	5	4	2424	;...
                715	14	2009	3	11	0	0	2010	12	25	0	0	5	-7	2424	;...
                715	14	2011	3	23	0	0	2011	3	24	0	0	5	-6	2424	;...
                715	14	2011	10	13	0	0	9999	9999	9999	0	0	5	-7	2424	;...
                722	14	2010	12	25	0	0	2011	3	23	0	0	5	-7	2435	;...
                722	14	2011	3	24	0	0	2011	10	13	0	0	5	-7	2435	;...
                670	14	1994	9	4	0	0	1999	8	25	0	0	4	9	2288	;...
                716	15	2007	10	12	0	0	9999	9999	9999	0	0	5	0	2425	;...
                678	15	1999	4	26	0	0	2001	1	30	0	0	4	11	2324	;...
                680	15	1995	8	26	0	0	1998	12	4	0	0	4	4	2316	;...
                736	16	2016	2	16	0	0	9999	9999	9999	0	0	5	-1	2464	;...
                738	16	2010	10	11	0	0	2016	2	16	0	0	5	-1	2466	;...
                675	16	1994	9	7	0	0	2000	8	14	0	0	4	22	2289	;...
                210	17	1986	1	24	0	0	1987	5	17	0	0	2	19	1711	;...
                219	17	1984	1	15	0	0	1986	1	24	0	0	1	9999	1520	;...
                227	17	1987	10	7	0	0	1988	10	11	0	0	3	9999	1885	;...
                238	17	1988	10	11	0	0	1990	5	22	0	0	4	9999	1970	;...
                242	17	1990	6	20	0	0	1994	4	24	0	0	4	21	2079	;...
                714	17	2010	12	25	0	0	2011	1	18	0	0	5	-5	2419	;...
                714	17	2011	1	18	0	0	2011	12	20	0	0	5	4	2419	;...
                714	17	2015	4	15	0	0	2016	2	8	0	0	5	-6	2419	;...
                714	17	2016	2	16	0	0	2016	2	25	0	0	5	4	2419	;...
                718	17	2007	12	4	0	0	2009	3	11	0	0	5	-1	2431	;...
                718	17	2009	3	11	0	0	2010	12	25	0	0	5	4	2431	;...
                746	17	2011	12	23	0	0	2015	4	15	0	0	5	4	2478	;...
                751	17	2016	2	8	0	0	2016	2	16	0	0	5	4	2514	;...
                751	17	2016	2	25	0	0	9999	9999	9999	0	0	5	4	2514	;...
                660	17	1994	5	18	0	0	1999	7	31	0	0	4	24	2276	;...
                687	17	2000	11	4	0	0	2007	4	26	0	0	4	5	2375	;...
                209	18	1986	1	24	0	0	1987	3	1	0	0	2	4	1710	;...
                217	18	1984	6	18	0	0	1985	10	26	0	0	1	9999	1555	;...
                220	18	1984	1	7	0	0	1984	6	18	0	0	1	9999	1519	;...
                236	18	1989	8	6	0	0	1991	11	2	0	0	4	9999	1972	;...
                237	18	1988	10	11	0	0	1989	8	6	0	0	4	9999	1971	;...
                714	18	2014	2	20	0	0	2014	4	11	0	0	5	-6	2419	;...
                724	18	2008	10	26	0	0	2014	2	20	0	0	5	-3	2442	;...
                754	18	2014	4	11	0	0	9999	9999	9999	0	0	5	-3	2491	;...
                656	18	1992	8	19	0	0	1993	9	2	0	0	4	24	2204	;...
                658	18	1994	9	4	0	0	1999	3	6	0	0	4	10	2275	;...
                683	18	2001	1	5	0	0	2007	12	6	0	0	4	10	2374	;...
                218	19	1984	6	13	0	0	1985	8	17	0	0	1	9999	1554	;...
                228	19	1990	6	17	0	0	1994	7	28	0	0	4	3	2080	;...
                230	19	1989	6	17	0	0	1989	11	19	0	0	2	9999	2023	;...
                236	19	1988	10	11	0	0	1989	6	17	0	0	4	9999	1972	;...
                720	19	2007	11	26	0	0	9999	9999	9999	0	0	5	3	2433	;...
                677	19	1995	4	5	0	0	1997	7	18	0	0	4	3	2309	;...
                698	19	2006	1	23	0	0	2007	11	9	0	0	4	3	2417	;...
                229	20	1990	6	11	0	0	1992	8	19	0	0	4	15	2081	;...
                237	20	1989	8	6	0	0	1989	9	1	0	0	4	9999	1971	;...
                719	20	2007	11	27	0	0	9999	9999	9999	0	0	5	2	2432	;...
                665	20	1995	3	30	0	0	1999	9	11	0	0	4	1	2307	;...
                693	20	2006	4	6	0	0	2007	4	26	0	0	4	11	2394	;...
                725	21	2008	11	5	0	0	2009	3	11	0	0	5	-1	2443	;...
                725	21	2009	3	11	0	0	2014	8	3	0	0	5	4	2443	;...
                653	21	1991	4	28	0	0	1992	1	7	0	0	4	20	2140	;...
                755	21	2014	8	3	0	0	9999	9999	9999	0	0	5	4	2500	;...
                656	21	1994	6	30	0	0	1997	6	28	0	0	4	24	2204	;...
                672	21	1992	8	29	0	0	1994	6	30	0	0	4	8	2205	;...
                692	21	2003	1	31	0	0	2007	2	7	0	0	4	5	2395	;...
                692	21	2007	2	7	0	0	2008	1	14	0	0	4	8	2395	;...
                726	22	2008	11	13	0	0	2010	3	22	0	0	5	-3	2444	;...
                731	22	2010	3	28	0	0	9999	9999	9999	0	0	5	-3	2459	;...
                650	22	1991	4	28	0	0	1994	9	30	0	0	4	11	2139	;...
                666	22	1995	4	5	0	0	2000	11	22	0	0	4	10	2308	;...
                691	22	2003	1	21	0	0	2007	12	6	0	0	4	10	2394	;...
                698	22	2007	12	10	0	0	2008	1	14	0	0	4	10	2417	;...
                714	23	2006	8	31	0	0	2010	3	19	0	0	5	3	2419	;...
                732	23	2010	3	28	0	0	9999	9999	9999	0	0	5	3	2460	;...
                661	23	1994	5	16	0	0	1997	7	25	0	0	4	3	2277	;...
                693	23	2003	1	31	0	0	2006	4	6	0	0	4	11	2396	;...
                231	24	1989	7	4	0	0	1990	1	26	0	0	2	9999	2022	;...
                713	24	2006	8	31	0	0	2010	2	27	0	0	5	2	2418	;...
                735	24	2010	3	28	0	0	9999	9999	9999	0	0	5	2	2461	;...
                654	24	1991	5	4	0	0	1992	2	27	0	0	4	14	2141	;...
                674	24	1992	8	25	0	0	1996	5	19	0	0	4	1	2206	;...
                688	24	2000	11	21	0	0	2006	4	6	0	0	4	3	2376	];
        end
        
        if source == 3
            svndata = [
                696     1  2004    12    26     0     0  2005     2     7     0     0     4   NaN;
                696     1  2005     2     7     0     0  2006     3    26     0     0     4     2;
                696     1  2006     3    26     0     0  2008    10    23     0     0     4     7;
                730     1  2009    12    15     0     0   Inf     0     0     0     0     5     1;
                694     2  2003    12    10     0     0  2005     2    17     0     0     4     4;
                694     2  2005     2    17     0     0  2008     1    11     0     0     4     1;
                728     2  2008    12    26     0     0  2009     9    14     0     0     5     1;
                728     2  2009     9    14     0     0  2013     7     3     0     0     5    -4;
                747     2  2013     7     3     0     0   Inf     0     0     0     0     5    -4;
                689     3  2001    12     1     0     0  2008     1    11     0     0     4    12;
                727     3  2008    12    26     0     0  2010    10     1     0     0     5     5;
                727     3  2010    10     1     0     0  2010    10     4     0     0     5    -5;
                722     3  2010    10     4     0     0  2010    12    14     0     0     5    -5;
                727     3  2010    12    14     0     0  2011     3    24     0     0     5     5;
                715     3  2011     3    24     0     0  2011    10    13     0     0     5    -6;
                801     3  2011    10    13     0     0  2011    12     1     0     0     6    -5;
                744     3  2011    12     1     0     0   Inf     0     0     0     0     5     5;
                695     4  2003    12    10     0     0  2009     8    19     0     0     4     6;
                733     4  2009    12    15     0     0  2010    10     4     0     0     5     6;
                727     4  2010    10     4     0     0  2010    12    14     0     0     5     6;
                801     4  2011     5    12     0     0  2011    10    13     0     0     6    -5;
                742     4  2011    10    13     0     0   Inf     0     0     0     0     5     6;
                611     5  2001    12     1     0     0  2006     3    26     0     0     4     2;
                611     5  2006     3    26     0     0  2008     1    11     0     0     4     7;
                734     5  2009    12    15     0     0  2018     8    12     9     6     5     1;
                856     5  2018    08    22     0     0   Inf     0     0     0     0     5     1;
                701     6  2003    12    10     0     0  2009     9    16     0     0     5     1;
                701     6  2009     9    16     0     0  2010     2    27     0     0     5    -4;
                733     6  2010    10     4     0     0   Inf     0     0     0     0     5    -4;
                712     7  2004    12    26     0     0  2005     2    25     0     0     5   NaN;
                712     7  2005     2    25     0     0  2007     2     7     0     0     5     4;
                712     7  2007     2     7     0     0  2011    12    15     0     0     5     5;
                745     7  2011    12    15     0     0   Inf     0     0     0     0     5     5;
                697     8  2004    12    26     0     0  2005     2     6     0     0     4   NaN;
                697     8  2005     2     6     0     0  2008    10    23     0     0     4     6;
                729     8  2008    12    26     0     0  2012     9    20     0     0     5     6;
                743     8  2012     9    20     0     0  2012    10    18     0     0     5    -6;
                712     8  2012    10    18     0     0  2012    12    24     0     0     5     6;
                743     8  2012    12    24     0     0  2013     1     6     0     0     5    -6;
                801     8  2013     1     6     0     0  2013     3     4     0     0     6    -5; % MANUAL EDIT PER BULLETIN
                %                 743     8  2013     2    22     0     0  2013     3     1     0     0     5    -6; % MANUAL EDIT PER BULLETIN
                743     8  2013     3     4     0     0   Inf     0     0     0     0     5     6; % MANUAL EDIT PER BULLETIN
                722     9  2008     1    21     0     0  2010    10     4     0     0     5    -2;
                736     9  2010    10     4     0     0  2016     2    13     0     0     5    -2; % MANUAL EDIT PER BULLETIN
                802     9  2016     2    13     0     0   Inf     0     0     0     0     6    -2; % -- WAS FEB 16  % CHANGED FROM -6 TO -2 ON 1/18/2018
                715    10  2007     1    11     0     0  2007     1    17     0     0     5     4;
                717    10  2007     1    17     0     0  2009     3    11     0     0     5     4;
                717    10  2009     3    11     0     0   Inf     0     0     0     0     5    -7;
                723    11  2008     1    16     0     0  2016     6    24     0     0     5     0;
                753    11  2016     6    24     0     0   Inf     0     0     0     0     5     0;  
                737    12  2010    10     4     0     0  2016    12    21     0     0     5    -1;
                723    12  2016    12    21     0     0   Inf     0     0     0     0     5    -1;  % added from SVOEVP
                721    13  2008     2     4     0     0   Inf     0     0     0     0     5    -2;
                716    14  2007     1    11     0     0  2007     1    17     0     0     5     4;
                715    14  2007     1    17     0     0  2009     3    11     0     0     5     4;
                715    14  2009     3    11     0     0  2010    12    25     0     0     5    -7;
                722    14  2010    12    25     0     0  2011     3    23     0     0     5    -7;
                715    14  2011     3    23     0     0  2011     3    24     0     0     5    -6;
                722    14  2011     3    24     0     0  2011    10    13     0     0     5    -7;
                715    14  2011    10    13     0     0  2017    10    06     0     0     5    -7;
                752    14  2017    10    16     0     0   Inf     0     0     0     0     5    -7;
                717    15  2007     1    11     0     0  2007     1    17     0     0     5     0;
                716    15  2007     1    17     0     0  2018    11    24     0     0     5     0;
                857    15  2018    11    24     0     0   Inf     0     0     0     0     5     0;
                738    16  2010    10     4     0     0  2016     2    14     0     0     5    -1; % MANUAL EDIT PER BULLETIN
                736    16  2016     2    14     0     0   Inf     0     0     0     0     5    -1; % -- WAS FEB 16
                687    17  2000    10    13     0     0  2007     4    26     0     0     4     5;
                718    17  2007    12     4     0     0  2009     3    11     0     0     5    -1;
                718    17  2009     3    11     0     0  2010    12    25     0     0     5     4;
                714    17  2010    12    25     0     0  2011     1    18     0     0     5    -5;
                714    17  2011     1    18     0     0  2011    12    20     0     0     5     4;
                746    17  2011    12    20     0     0  2015     4    15     0     0     5     4;
                714    17  2015     4    15     0     0  2016     2     8     0     0     5    -6;
                751    17  2016     2     8     0     0  2016     2    16     0     0     5     4;
                714    17  2016     2    16     0     0  2016     2    25     0     0     5     4;
                751    17  2016     2    25     0     0   Inf     0     0     0     0     5     4;
                683    18  2000    10    13     0     0  2007    12     6     0     0     4    10;
                724    18  2008     9    26     0     0  2008    10    23     0     0     5   NaN;
                724    18  2008    10    23     0     0  2014     2    20     0     0     5    -3;
                714    18  2014     2    20     0     0  2014     4    11     0     0     5    -6;
                754    18  2014     4    11     0     0   Inf     0     0     0     0     5    -3;
                698    19  2006     1    23     0     0  2007    11     9     0     0     4     3;
                720    19  2007    11     9     0     0   Inf     0     0     0     0     5     3;
                693    20  2006     4     6     0     0  2007     4    26     0     0     4    11;
                719    20  2007    11    16     0     0   Inf     0     0     0     0     5     2;
                692    21  2002    12    25     0     0  2007     2     7     0     0     4     5;
                692    21  2007     2     7     0     0  2008     1    14     0     0     4     8;
                725    21  2008     9    26     0     0  2008    11     5     0     0     5   NaN;
                725    21  2008    11     5     0     0  2009     3    11     0     0     5    -1;
                725    21  2009     3    11     0     0  2014     8     3     0     0     5     4;
                755    21  2014     8     3     0     0   Inf     0     0     0     0     5     4;
                691    22  2002    12    25     0     0  2007    12     6     0     0     4    10;
                698    22  2007    12    10     0     0  2008     1    14     0     0     4    10;
                726    22  2008     9    26     0     0  2008    11    13     0     0     5   NaN;
                726    22  2008    11    13     0     0  2010     3    22     0     0     5    -3;
                731    22  2010     3    22     0     0   Inf     0     0     0     0     5    -3;
                693    23  2002    12    25     0     0  2006     4     6     0     0     4    11;
                714    23  2006     4     6     0     0  2010     3    19     0     0     5     3;
                732    23  2010     3    19     0     0   Inf     0     0     0     0     5     3;
                688    24  2000    10    13     0     0  2006     4     6     0     0     4     3;
                713    24  2006     4     6     0     0  2010     2    27     0     0     5     2;
                735    24  2010     3     9     0     0   Inf     0     0     0     0     5     2];
        end
    case 3 % Galileo
        blockText = {'GVE','IOV','FOC'};
        
        if source == 1 % START DATES SHOULD CORRESPOND TO USABLE DATES
        % All data from wikipedia:
        % https://en.wikipedia.org/wiki/List_of_Galileo_satellites
        svndata = [
            %                  |     Launch Time       |     Decommission Time      |
            %SVN  PRN  Year   Mon   Day  Hour   Min  Year   Mon   Day  Hour   Day  Block
            1      -1  2005    12    28     0     0  2012     7    30     0     0     1; % GIOVE
            2      -2  2008     4    26     0     0  2012     7    23     0     0     1; % GIOVE
            101    11  2011    10    21     0     0   Inf     1     1     0     0     2;
            102    12  2011    10    21     0     0   Inf     1     1     0     0     2;
            103    19  2012    10    12     0     0   Inf     1     1     0     0     2;
            104    20  2012    10    12     0     0  2014     5    27     0     0     2; % On-orbit hardware failure- only transmits E1
            201    18  2014     8    22     0     0  2014     8    22     0     0     3; % Launched into wrong orbit
            202    14  2014     8    22     0     0  2014     8    22     0     0     3; % Launched into wrong orbit
            203    26  2015    12     3     0     0   Inf     1     1     0     0     3;
            204    22  2015    12     4     0     0   Inf     1     1     0     0     3;
            205    24  2016     1    28     0     0   Inf     1     1     0     0     3;
            206    30  2016     1    28     0     0   Inf     1     1     0     0     3;
            208     8  2015    12    17     0     0   Inf     1     1     0     0     3;
            209     9  2015    12    17     0     0   Inf     1     1     0     0     3;
            210     1  2016     5    24     0     0   Inf     1     1     0     0     3;
            211     2  2016     5    24     0     0   Inf     1     1     0     0     3;
            212     3  2017     8     1     0     0   Inf     1     1     0     0     3;
            213     4  2017     8     9     0     0   Inf     1     1     0     0     3;
            214     5  2017     5    29     0     0   Inf     1     1     0     0     3;
            207     7  2017     5    29     0     0   Inf     1     1     0     0     3;]; 
        elseif source == 2 % LAUNCH DATES- USED FOR IDENTIFICATION OF SATELLITES BEFORE USABLE DATES
            svndata = [
            %                  |     Launch Time       |     Decommission Time      |
            %SVN  PRN  Year   Mon   Day  Hour   Min  Year   Mon   Day  Hour   Day  Block
            1      -1  2005    12    28     0     0  2012     7    30     0     0     1; % GIOVE
            2      -2  2008     4    26     0     0  2012     7    23     0     0     1; % GIOVE
            101    11  2011    10    21     0     0   Inf     1     1     0     0     2;
            102    12  2011    10    21     0     0   Inf     1     1     0     0     2;
            103    19  2012    10    12     0     0   Inf     1     1     0     0     2;
            104    20  2012    10    12     0     0  2014     5    27     0     0     2; % On-orbit hardware failure- only transmits E1
            201    18  2016     8     5     0     0   Inf     1     1     0     0     3; % Launched into wrong orbit
            202    14  2016     8     5     0     0   Inf     1     1     0     0     3; % Launched into wrong orbit
            203    26  2015    12     3     0     0   Inf     1     1     0     0     3;
            204    22  2015    12     4     0     0   Inf     1     1     0     0     3;
            205    24  2016     1    28     0     0   Inf     1     1     0     0     3;
            206    30  2016     1    28     0     0   Inf     1     1     0     0     3;
            208     8  2015    12    17     0     0   Inf     1     1     0     0     3;
            209     9  2015    12    17     0     0   Inf     1     1     0     0     3;
            210     1  2016     5    24     0     0   Inf     1     1     0     0     3;
            211     2  2016     5    24     0     0   Inf     1     1     0     0     3;
            212     3  2016    11    17     0     0   Inf     1     1     0     0     3;
            213     4  2016    11    17     0     0   Inf     1     1     0     0     3;
            214     5  2016    11    17     0     0   Inf     1     1     0     0     3;
            207     7  2016    11    17     0     0   Inf     1     1     0     0     3;
            215    21  2017    12    12     0     0   Inf     1     1     0     0     3; % LAUNCH DATE- STILL UNDER COMMISSIONING WHEN THIS WAS WRITTEN 2/1/18
            216    25  2017    12    12     0     0   Inf     1     1     0     0     3; % LAUNCH DATE- STILL UNDER COMMISSIONING WHEN THIS WAS WRITTEN 2/1/18
            217    27  2017    12    12     0     0   Inf     1     1     0     0     3; % LAUNCH DATE- STILL UNDER COMMISSIONING WHEN THIS WAS WRITTEN 2/1/18
            218    31  2017    12    12     0     0   Inf     1     1     0     0     3;]; % LAUNCH DATE- STILL UNDER COMMISSIONING WHEN THIS WAS WRITTEN 2/1/18
        end
    case 4 % BeiDou
        % All data from wikipedia:
        % https://en.wikipedia.org/wiki/List_of_Beidou_satellites
        % No official SVNs- SVN here are taken from MGEX (BeiDou-1A:D 90x chosen
        % arbitrarily as they are not assigned by MGEX)
        switch source
            case 1
        blockText = {'G-1','M-2','G-2','I-2','M-3','I-3'};
        svndata = [
            %                  |     Launch Time       |     Decommission Time      |
            %  SVN   PRN  Year   Mon   Day  Hour   Min  Year   Mon   Day  Hour   Day  Block
            901    -4  2000    10    30     0     0  2011    12     1     0     0     1; % Experimental
            902    -3  2000    12    20     0     0  2011    12     1     0     0     1; % Experimental
            903    -2  2003     5    24     0     0  2012    12     1     0     0     1; % Experimental
            904    -1  2007     2     2     0     0  2009     2     1     0     0     1; % Experimental
            1      30  2007     4    13     0     0  2010     4    25     0     0     2; % MEO with frequency issues (decommision date taken from date of article http://www.insidegnss.com/node/2061)
            2       0  2009     4    14     0     0  2009     4    14     0     0     3; % Drifting GEO (decomission date uncertain)
            3       1  2010     1    16     0     0   Inf     1     1     0     0     3;
            4       3  2010     6     2     0     0   Inf     1     1     0     0     3;
            5       6  2010     7    31     0     0   Inf     1     1     0     0     4;
            6       4  2010    10    31     0     0   Inf     1     1     0     0     3;
            7       7  2010    12    17     0     0   Inf     1     1     0     0     4;
            8       8  2011     4     9     0     0   Inf     1     1     0     0     4;
            9       9  2011     7    26     0     0   Inf     1     1     0     0     4;
            10     10  2011    12     1     0     0   Inf     1     1     0     0     4;
            11      5  2012     2    24     0     0   Inf     1     1     0     0     3;
            12     11  2012     4    29     0     0   Inf     1     1     0     0     2;
            13     12  2012     4    29     0     0   Inf     1     1     0     0     2;
            14     13  2012     9    18     0     0  2014    10    21     0     0     2;
            15     14  2012     9    18     0     0   Inf     1     1     0     0     2;
            16      2  2012    10    25     0     0   Inf     1     1     0     0     3;
            %101    31  2015     3    30     0     0   Inf     1     1     0     0     6; 
            %102    34  2015     7    25     0     0   Inf     1     1     0     0     5;
            %103    33  2015     7    25     0     0   Inf     1     1     0     0     5;
            %104    32  2015     9    29     0     0   Inf     1     1     0     0     6;
            %105    35  2016     2     1     0     0   Inf     1     1     0     0     5;
            17     15  2016     3    29     0     0   Inf     1     1     0     0     4;
            18     17  2016     6    12     0     0   Inf     1     1     0     0     3];
            case 2
        blockText = {'GEO','MEO','GEO','ISGO','MEO','ISGO'};
        svndata = [
            %                  |     Launch Time       |     Decommission Time      |
            %  SVN   PRN  Year   Mon   Day  Hour   Min  Year   Mon   Day  Hour   Day  Block
            901    -4  2000    10    30     0     0  2011    12     1     0     0     1; % Experimental
            902    -3  2000    12    20     0     0  2011    12     1     0     0     1; % Experimental
            903    -2  2003     5    24     0     0  2012    12     1     0     0     1; % Experimental
            904    -1  2007     2     2     0     0  2009     2     1     0     0     1; % Experimental
            30      30  2007     4    13     0     0  2010     4    25     0     0     2; % MEO with frequency issues (decommision date taken from date of article http://www.insidegnss.com/node/2061)
            0       0  2009     4    14     0     0  2009     4    14     0     0     3; % Drifting GEO (decomission date uncertain)
            1       1  2010     1    16     0     0   Inf     1     1     0     0     3;
            3       3  2010     6     2     0     0   Inf     1     1     0     0     3;
            6       6  2010     7    31     0     0   Inf     1     1     0     0     4;
            4       4  2010    10    31     0     0   Inf     1     1     0     0     3;
            7       7  2010    12    17     0     0   Inf     1     1     0     0     4;
            8       8  2011     4     9     0     0   Inf     1     1     0     0     4;
            9       9  2011     7    26     0     0   Inf     1     1     0     0     4;
            10     10  2011    12     1     0     0   Inf     1     1     0     0     4;
             5      5  2012     2    24     0     0   Inf     1     1     0     0     3;
            11     11  2012     4    29     0     0   Inf     1     1     0     0     2;
            12     12  2012     4    29     0     0   Inf     1     1     0     0     2;
            13     13  2012     9    18     0     0  2014    10    21     0     0     2;
            14     14  2012     9    18     0     0   Inf     1     1     0     0     2;
             2      2  2012    10    25     0     0   Inf     1     1     0     0     3;
            %101    31  2015     3    30     0     0   Inf     1     1     0     0     6; 
            %102    34  2015     7    25     0     0   Inf     1     1     0     0     5;
            %103    33  2015     7    25     0     0   Inf     1     1     0     0     5;
            %104    32  2015     9    29     0     0   Inf     1     1     0     0     6;
            %105    35  2016     2     1     0     0   Inf     1     1     0     0     5;
            15     15  2016     3    29     0     0   Inf     1     1     0     0     4;
            17     17  2016     6    12     0     0   Inf     1     1     0     0     3];
                
        end
        
end

end